# coding:utf-8
# writingtime: 
# author:

import os
import math as m
from itertools import combinations
from Utilities.AutoGetOperator.selectionMethod.selectPackage import get_func

root_path = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))  # 项目的根目录
project_path = os.path.join(root_path, 'OperationOperators')  # 项目所在目录
file_a_path = os.path.join(project_path, 'OperatorIVQROF.py')  # 目标文件目录
try:
    Operator_IVQ_ROFS=get_func(file_a_path,'Operator_IVQ_ROFS')
except:
    Operator_IVQ_ROFS=get_func(r'E:\DecisionSystem\Operators\OperationOperators\OperatorIVQROF.py',
                               'Operator_IVQ_ROFS')

class ChoquestA(Operator_IVQ_ROFS):


    def getResult(self):
        '''
        function: Choquest算子
        :return:
        '''
        attribute_n=len(self.data_list)
        list_combinations = [i for i in range(attribute_n + 1)]
        discordance_list=[0]
        discordance_list.append([1/attribute_n for i in range(attribute_n)])


if __name__=='__main__':
    a=ChoquestA()
    a.getResult()

